package com.baizhi.dao;

import com.baizhi.entity.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yystart
 * @create 2019-10-04 15:52
 */
public interface ProductDao {

    List<Product> selectProductsByPage(@Param("offset")int offset,@Param("limit")int limit);

    int selectTotalCount();

    Product selectOne(int id);

}
